@layout("/common/_container.html"){
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<div class="form-horizontal" id="userInfoForm">
			
			<input type="hidden" id="id" value="${banner.id}">
			<input type="hidden" id="imgSrc" value="${banner.imgSrc}">
			<input type="hidden" id="link" value="${banner.link}">

			<div class="row">
				<div class="col-sm-6">
					<#input id="title" name="标题" underline="true" value="${banner.title}"/>
					<#select id="enable" name="状态" underline="true">
						<option value="1">启用</option>
						<option value="0">不启用</option>
					</#select>
				</div>
			</div>
			<div class="row">
				<div class="col-sm-6">
					<#input id="seq" name="排序" underline="true" value="${banner.seq}"/>
					<#input id="description" name="描述" underline="true" value="${banner.description}"/>
				</div>
			</div>

			<div class="row btn-group-m-t">
				<div class="col-sm-10">
					<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="PortalBannerInfoDlg.editSubmit()"/>
					<#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="PortalBannerInfoDlg.close()"/>
				</div>
			</div>
		</div>

	</div>
</div>
<script src="${ctxPath}/static/portal/banner/banner_info.js"></script>
@}
